



<h2 class="contentTitle">表单验证</h2>
<div class="pageContent">
{#{{ strlength }}#}

{{ title }}
    <br><br><br><br>
{{ price }}
    <br><br><br><br>
{{ jingjia_date }}
    <br><br><br><br>
{{ html }}
    <br><br><br><br>
{{ strlength }}
    <br><br><br><br>
{{ chekuang }}
    <br><br><br><br>
{{ pingjia }}
    <br><br><br><br>
{{ shouxu }}
    <br><br><br><br>
{{ jiben }}
{#{{ html }}#}
{#	<form method="post" action="demo/common/ajaxDone.html" class="pageForm required-validate" onsubmit="return validateCallback(this)">#}
{#		<div class="pageFormContent nowrap" layoutH="97">#}
{##}
{#			<dl>#}
{#				<dt>必填：</dt>#}
{#				<dd>#}
{#					<input type="text" name="name" maxlength="20" class="required" />#}
{#					<span class="info">class="required"</span>#}
{#				</dd>#}
{#			</dl>#}
{#			<dl>#}
{#				<dt>网址：</dt>#}
{#				<dd>#}
{#					<input type="text" name="url" class="url" />#}
{#					<span class="info">class="url"</span>#}
{#				</dd>#}
{#			</dl>#}
{##}
{##}
{#			<div class="divider"></div>#}
{#			<p>自定义扩展请参照：dwz.validate.method.js</p>#}
{#			<p>错误提示信息国际化请参照：dwz.regional.zh.js</p>#}
{#		</div>#}
{#		<div class="formBar">#}
{#			<ul>#}
{#				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>#}
{#				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>#}
{#			</ul>#}
{#		</div>#}
{#	</form>#}
{##}
{#</div>#}
{##}

<script type="text/javascript">
function customvalidXxx(element){
	if ($(element).val() == "xxx") return false;
	return true;
}
</script>
